using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //This code generates a random number between 0 and 10.
        Random rndGen = new Random();
        int rndNum = rndGen.Next(10);
        //If the number is less than 5, the image of the red bike is displayed on the home page
        //If the number is greater than or equal to 5, the image of the blue bike is displayed on the home page
        if (rndNum < 5)
            BikeImage.ImageUrl = "~/Images/RedBike.gif";
        else
            BikeImage.ImageUrl = "~/Images/BlueBike.gif";
		HtmlTableCell cellContact = (HtmlTableCell)Master.FindControl("cellContact");
		cellContact.BgColor = "Lime";
		HtmlTableCell cellAbout = (HtmlTableCell)Master.FindControl("cellAbout");
		cellAbout.BgColor = "Lime";
		HtmlTableCell cellBikingServices = (HtmlTableCell)Master.FindControl("cellBikingServices");
		cellBikingServices.BgColor = "Lime";
    }
}